//添加基础信息
export const addShopUser = {
	foundation: {
		business: {
			title: '营业信息',
			option: {
				settledChannel: {
					title: '入驻通道',
					type: 'poupCheckbox',
					value: '',
					placeholder: '请选择',
					validate: {
						required: true
					},
					option: [{
						label: '乐刷',
						value: '0'
					}, {
						label: '拉卡拉',
						value: '1'
					}, {
						label: '富友',
						value: '2'
					}, {
						label: '易生',
						value: '3'
					}, {
						label: '国通星驿',
						value: '4'
					}],
				},
				otherChannel: {
					title: '其他通道',
					type: 'poupCheckbox',
					value: '',
					placeholder: '请选择',
					validate: {
						required: true
					},
					option: [{
						label: '乐刷',
						value: '0'
					}, {
						label: '拉卡拉',
						value: '1'
					}, {
						label: '富友',
						value: '2'
					}, {
						label: '易生',
						value: '3'
					}, {
						label: '国通星驿',
						value: '4'
					}],
				},
				merchantType: {
					title: '商户类型',
					type: 'poupShopCheckbox',
					value: '',
					placeholder: '请选择商户类型',
					validate: {
						required: true
					}
				},
				businessLicense: {
					title: '营业执照',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传营业执照',
					customUrl: '/static/image/business.png'
				},
				companyName: {
					title: '公司名称',
					type: 'input',
					value: '',
					placeholder: '请输入公司名称',
					validate: {
						required: true
					}
				},
				companyNum: {
					title: '营业执照号',
					type: 'input',
					value: '',
					placeholder: '请输入营业执照号',
					validate: {
						required: true
					}
				},
				companyAddress: {
					title: '注册地址',
					type: 'input',
					value: '',
					placeholder: '请输入注册地址',
					validate: {
						required: true
					}
				},
				businessTerm: {
					title: '营业期限',
					type: 'timeRadio',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '选择时间',
						value: '0'
					}, {
						label: '长期有效',
						value: '1'
					}],
				},
				companySubName: {
					title: '商户简称',
					type: 'input',
					value: '',
					placeholder: '请输入商户简称',
					validate: {
						required: true
					}
				},
				companyCategory: {
					title: '行业类目',
					type: 'classy',
					value: '',
					placeholder: '请选择行业类目',
					validate: {
						required: true
					}
				},
				companyArea: {
					title: '经营地区',
					type: 'area',
					value: '',
					placeholder: '请选择经营地区',
					validate: {
						required: true
					}
				},
				detailedAddress: {
					title: '详细地址',
					type: 'map',
					value: '',
					placeholder: '请选择详细地址',
					validate: {
						required: true
					}
				},
			}
		},
		legal: {
			title: '经营者/法人信息',
			option: {
				idType: {
					title: '证件类型',
					type: 'picker',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '身份证',
						value: '0'
					}, {
						label: '香港通行证（回乡证）',
						value: '1'
					}, {
						label: '台湾身份证',
						value: '2'
					}, {
						label: '香港身份证',
						value: '3'
					}, {
						label: '澳门身份证',
						value: '4'
					}, {
						label: '护照',
						value: '5'
					}, {
						label: '居住证',
						value: '6'
					}, {
						label: '其他法定文件',
						value: '7'
					}, {
						label: '台湾通行证（台胞证）',
						value: '8'
					}, {
						label: '澳门通行证（回乡证）',
						value: '9'
					}, {
						label: '临时身份证',
						value: '10'
					}, ],
				},
				front: {
					title: '证件正面',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传证件正面',
					customUrl: '/static/image/identityFront.png'
				},
				back: {
					title: '证件反面',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传证件反面',
					customUrl: '/static/image/identityBack.png'
				},
				name: {
					title: '姓名',
					type: 'input',
					value: '',
					placeholder: '请输入人员姓名',
					validate: {
						required: true
					}
				},
				idNum: {
					title: '证件号',
					type: 'input',
					value: '',
					placeholder: '请输入证件号',
					validate: {
						required: true
					}
				},
				lifeSpan: {
					title: '有效期',
					type: 'timeRadio',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '选择时间',
						value: '0'
					}, {
						label: '长期有效',
						value: '1'
					}],
				},
			}
		},
	},
	settlement: {
		payInfo: {
			title: '结算信息',
			option: {
				accountType: {
					title: '结算账户类型',
					type: 'scollPicker',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '对公账户',
						value: '0'
					}, {
						label: '对私法人账户',
						value: '1'
					}],
				},
				bankImg: {
					title: '银行卡照片',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传开户银行',
					customUrl: '/static/image/bank.png'
				},
				bankAccount: {
					title: '银行卡号',
					type: 'input',
					value: '',
					placeholder: '请输入银行卡号',
					validate: {
						required: true
					}
				},
				bankBranch: {
					title: '所属银行',
					type: 'bankCategory',
					value: '',
					placeholder: '请选择所属银行',
					validate: {
						required: true
					}
				},
				subBranch: {
					title: '支行信息',
					type: 'subBranchType',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '所属支行',
						value: '0'
					}, {
						label: '填写支行联号',
						value: '1'
					}],
				},
				selectP: {
					title: '选择省份',
					type: 'selectP',
					value: '',
					placeholder: '请选择省份',
					isShow: 1,
					validate: {
						required: true
					}
				},
				slelectC: {
					title: '选择城市',
					type: 'selectC',
					value: '',
					placeholder: '请选择城市',
					isShow: 1,
					validate: {
						required: true
					}
				},
				affiliatedBranch: {
					title: '所属支行',
					type: 'selectAB',
					isShow: 1,
					value: '',
					placeholder: '请选择所属支行',
					validate: {
						required: true
					}
				},
				interbankNumber: {
					title: '联行号',
					type: 'input',
					isShow: 1,
					value: '',
					placeholder: '请填写联行号',
					validate: {
						required: true
					}
				},
			}
		},
		commission: {
			title: '费率/佣金',
			option: {
				rateInfo: {
					title: '',
					option: {
						zfbRate: {
							title: '支付宝',
							logo: '/static/image/zfb.png',
							type: 'input',
							unit: '%',
							value: '',
							placeholder: '',
							validate: {
								required: true
							},
						},
						wxRate: {
							title: '微信',
							logo: '/static/image/wx.png',
							type: 'input',
							value: '',
							unit: '%',
							placeholder: '',
							validate: {
								required: true
							},
						},
						ysfFiexdRate: {
							title: '云闪付(交易金额 ≤1000)',
							logo: '/static/image/ysf.png',
							type: 'input',
							value: '',
							unit: '%',
							placeholder: '',
							validate: {
								required: true
							},
						},
						ysfDebitRate: {
							title: '云闪付(交易金额>1000)-借记卡',
							logo: '/static/image/ysf.png',
							type: 'input',
							value: '',
							unit: '%',
							placeholder: '',
							validate: {
								required: true
							},
						},
						ysfCappingRate: {
							title: '云闪付(交易金额>1000)-借记卡封顶手续费',
							logo: '/static/image/ysf.png',
							type: 'input',
							value: '',
							unit: '%',
							placeholder: '',
							validate: {
								required: true
							},
						},
						ysfLoanRate: {
							title: '云闪付(交易金额>1000)-贷记卡',
							logo: '/static/image/ysf.png',
							type: 'input',
							value: '',
							unit: '%',
							placeholder: '',
							validate: {
								required: true
							},
						},
					},
				},

			}
		},
	},
	storeInfo: {
		store: {
			title: '店铺信息',
			option: {
				storeName: {
					title: '店铺名称',
					type: 'input',
					value: '',
					placeholder: '请输入店铺名称',
					validate: {
						required: true
					}
				},
				storePhone: {
					title: '店铺电话',
					type: 'input',
					value: '',
					placeholder: '请输入店铺电话',
					validate: {
						required: true
					}
				},
				storeHeardImage: {
					title: '店铺门头照片',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传店铺门头照片',
					customUrl: '/static/image/storeHeard.png'
				},
				storeInsideImage: {
					title: '店铺内部照片',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传店铺内部照片',
					customUrl: '/static/image/storeInside.png'
				},
				storePayImage: {
					title: '店铺收银台',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传店铺收银台',
					customUrl: '/static/image/storePay.png'
				},
			}
		},
		optional: {
			title: '其他信息(选填)',
			option: {
				voucher: {
					title: '经营许可证',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '(选填)',
					customUrl: '/static/image/defult.png'
				},
				otherImage: {
					title: '其他凭证（用于上传其他要求材料）',
					type: 'upload',
					maxCount: 9,
					value: [],
					placeholder: '(选填)',
					customUrl: '/static/image/defult.png'
				},
			}
		},

	}

}